import { httpUrl } from 'api/config'
import { ajax } from 'api/axios'

export const readMeter = (data) => {
  const url = `${httpUrl}/admin/home/saveMeter`

  return ajax(url, data)
}

export const collectionMoney = (data) => {
  const url = `${httpUrl}/admin/home/createMeterMoney`

  return ajax(url, data)
}
